package com.homestay.beans;

import java.math.BigDecimal;
import java.util.List;

/**
 * 房源信息表
 * @author hrh
 *
 */
public class HouseInfoBean {
	
	//房源信息表ID
	private Integer h_id;
	
	//名称
	private String h_name;
	
	//图片
	private String h_img;
	
	//房源类型
	private String h_houseStyle;
	
	//能否做饭
	private int h_cooking;
	
	//价格
	private BigDecimal h_price;
	
	//位置
	private String h_location;
	
	//卫生间
	private int h_bathroom;
	
	//房源简介
	private String h_houseIntroduce;
	
	//户型
	private String h_houseType;
	
	//房源热度
	private int h_hot;
	
	//经度
	private double h_longitude;
	
	//纬度
	private double h_latitude;
	
	//能否预订
	private int h_reserve;
	
	//多对一，房源信息对房东
	private LandlordBean landlord;
	
	//一对一，房源信息对配套设施
	private FacilityBean facility;
	
	//一对一，房源信息对周边信息
	private SurroundingsBean surroundings;
	
	//一对一，房源信息对房屋图片
	private HouseImgBean houseImg;
	
	//多对多，房源信息对景点信息
	private List<SceneryBean> sceneryList;
	
	//一对多，房源信息对收藏信息
	private List<CollectBean> collectList;
	
	//一对多，房源信息对评论信息
	private List<CommentBean> commentList;
	
	//一对多，房源信息对订单信息
	private List<OrderBean> orderList;
	
	private int flag;

	public Integer getH_id() {
		return h_id;
	}

	public void setH_id(Integer h_id) {
		this.h_id = h_id;
	}

	public String getH_name() {
		return h_name;
	}

	public void setH_name(String h_name) {
		this.h_name = h_name;
	}

	public String getH_img() {
		return h_img;
	}

	public void setH_img(String h_img) {
		this.h_img = h_img;
	}

	public String getH_houseStyle() {
		return h_houseStyle;
	}

	public void setH_houseStyle(String h_houseStyle) {
		this.h_houseStyle = h_houseStyle;
	}

	public int getH_cooking() {
		return h_cooking;
	}

	public void setH_cooking(int h_cooking) {
		this.h_cooking = h_cooking;
	}

	public BigDecimal getH_price() {
		return h_price;
	}

	public void setH_price(BigDecimal h_price) {
		this.h_price = h_price;
	}

	public String getH_location() {
		return h_location;
	}

	public void setH_location(String h_location) {
		this.h_location = h_location;
	}

	public int getH_bathroom() {
		return h_bathroom;
	}

	public void setH_bathroom(int h_bathroom) {
		this.h_bathroom = h_bathroom;
	}

	public String getH_houseIntroduce() {
		return h_houseIntroduce;
	}

	public void setH_houseIntroduce(String h_houseIntroduce) {
		this.h_houseIntroduce = h_houseIntroduce;
	}

	public String getH_houseType() {
		return h_houseType;
	}

	public void setH_houseType(String h_houseType) {
		this.h_houseType = h_houseType;
	}

	public int getH_hot() {
		return h_hot;
	}

	public void setH_hot(int h_hot) {
		this.h_hot = h_hot;
	}

	public double getH_longitude() {
		return h_longitude;
	}

	public void setH_longitude(double h_longitude) {
		this.h_longitude = h_longitude;
	}

	public double getH_latitude() {
		return h_latitude;
	}

	public void setH_latitude(double h_latitude) {
		this.h_latitude = h_latitude;
	}

	public int getH_reserve() {
		return h_reserve;
	}

	public void setH_reserve(int h_reserve) {
		this.h_reserve = h_reserve;
	}


	public int getFlag() {
		return flag;
	}

	public void setFlag(int flag) {
		this.flag = flag;
	}

	
	public LandlordBean getLandlord() {
		return landlord;
	}

	public void setLandlord(LandlordBean landlord) {
		this.landlord = landlord;
	}

	public FacilityBean getFacility() {
		return facility;
	}

	public void setFacility(FacilityBean facility) {
		this.facility = facility;
	}

	public SurroundingsBean getSurroundings() {
		return surroundings;
	}

	public void setSurroundings(SurroundingsBean surroundings) {
		this.surroundings = surroundings;
	}

	public HouseImgBean getHouseImg() {
		return houseImg;
	}

	public void setHouseImg(HouseImgBean houseImg) {
		this.houseImg = houseImg;
	}

	public List<SceneryBean> getSceneryList() {
		return sceneryList;
	}

	public void setSceneryList(List<SceneryBean> sceneryList) {
		this.sceneryList = sceneryList;
	}

	public List<CollectBean> getCollectList() {
		return collectList;
	}

	public void setCollectList(List<CollectBean> collectList) {
		this.collectList = collectList;
	}

	public List<CommentBean> getCommentList() {
		return commentList;
	}

	public void setCommentList(List<CommentBean> commentList) {
		this.commentList = commentList;
	}

	public List<OrderBean> getOrderList() {
		return orderList;
	}

	public void setOrderList(List<OrderBean> orderList) {
		this.orderList = orderList;
	}

	@Override
	public String toString() {
		return "HouseInfoBean [h_id=" + h_id + ", h_name=" + h_name
				+ ", h_img=" + h_img + ", h_houseStyle=" + h_houseStyle
				+ ", h_cooking=" + h_cooking + ", h_price=" + h_price
				+ ", h_location=" + h_location + ", h_bathroom=" + h_bathroom
				+ ", h_houseIntroduce=" + h_houseIntroduce + ", h_houseType="
				+ h_houseType + ", h_hot=" + h_hot + ", h_longitude="
				+ h_longitude + ", h_latitude=" + h_latitude + ", h_reserve="
				+ h_reserve + ", landlord=" + landlord + ", facility="
				+ facility + ", surroundings=" + surroundings + ", houseImg="
				+ houseImg + ", sceneryList=" + sceneryList + ", collectList="
				+ collectList + ", commentList=" + commentList + ", orderList="
				+ orderList + ", flag=" + flag + "]";
	}

	
	
}
